package com.leiqichao.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leiqichao.backend.entity.Comment;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> selectCommentTree(@Param("articleId") Long articleId);
    int batchUpdateStatus(@Param("ids") List<Long> ids, @Param("status") String status);
}